package com.wk.springbootlearn.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

@ApiModel("用户")
@Data
public class User {
    @ApiModelProperty("用户id")
    private Long id;
    @ApiModelProperty("用户账号")
    private String loginAccount;
    @ApiModelProperty("用户密码")
    private String loginPwd;
    @ApiModelProperty("用户姓名")
    private String userName;
    @ApiModelProperty("用户头像")
    private String avatar;
    @ApiModelProperty("用户序列")
    private String sequence;
    @ApiModelProperty("用户级别")
    private String level;
    @ApiModelProperty("创建人")
    private Long creator;
    @ApiModelProperty("更新人")
    private Long updator;
    @ApiModelProperty("创建时间")
    private Timestamp createTime;
    @ApiModelProperty("更新时间")
    private Timestamp updateTime;
}
